/**
 * 
 */
package com.teamall.web.tssy.service;

import java.math.*;
import java.util.*;

import com.teamall.core.common.Page;
import com.teamall.framework.exception.BaseAppException;

import com.teamall.web.tssy.db.po.TsSyThirdPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.teamall.web.tssy.service <br>
 */

public interface ITsSyThirdService {

    TsSyThirdPO selectByPrimaryKey(String key) throws BaseAppException;

    List<TsSyThirdPO> selectByArg(TsSyThirdPO record) throws BaseAppException;

    Page<TsSyThirdPO> selectByArgAndPage(TsSyThirdPO record, Page<TsSyThirdPO> resultPage)
            throws BaseAppException;

    int add(TsSyThirdPO record) throws BaseAppException;

    int update(TsSyThirdPO record) throws BaseAppException;
    
    int updateStatus(String id) throws BaseAppException;

    int delete(TsSyThirdPO record) throws BaseAppException;

}
